package com.bdzl.ecs.servicefeign;

import com.bdzl.ecs.config.FeignConfig;
import com.bdzl.pub.util.param.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name="loanAdmin", configuration = FeignConfig.class,contextId = "EnterpriseService",url = "${feign.sys}:8001")
public interface EnterpriseFeignService {

    /**
     * 获取企业信息
     * @param entId
     * @return
     */
    @GetMapping("/bdzl/enterprise/edit/{entId}")
    @ResponseBody
    R edit(@PathVariable("entId") Integer entId);

}
